package service.dropdown;

import java.util.List;

import exception.Exceptions;

import model.dropdown.DCommon;
import model.dropdown.DUnitcat;


public interface DropDownService {
	public List<?> getDIndustrycatAList();
	public List<?> getDIndustrycatBList(int pid);
	public List<?> getDUnitcatList(); 
	public List<?> getDIdtypeList();
	
	public void updateUc(DUnitcat uc);
	public void deleteUc(DUnitcat uc);
	//public int  exist(DUnitcat uc);
	
	
	public List<DCommon> getCommonList(int type,int pcode);
	
	public void updateCommon(DCommon cm);
	public void deleteCommon(DCommon cm);
	
	public int exist(DCommon cm);
	
	public List<?> getListBean(int type,int pcode) throws Exceptions;
	
	public DCommon findById(int id);
	
	
}
